package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Volume {
       @TableId(type = IdType.AUTO)
       private Long id;
       private Integer userId;
       private Double volumeJourneyPrice;
       private Double volumePrice;
       @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
       private Date volumeTime;
       @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
       private Date volumeEndtime;

       @TableField(exist = false)
       private String username;

       @TableField(exist = false)
       private Double jiage;


}
